//首页请求api
import { request } from "@/utils/request.js"
//轮播图
export const apiGetBannerList = (data={}) =>{
  return request({
    url:'/image/search',
    data:{
      fileType:'slider'
    }
  })
}

//轮播图
export const apiGetNavList = (data={}) =>{
  return request({
    url:'/image/search',
    data:{
      fileType:'nav'
    }
  })
}

//推荐课程
export const apiGetRec = (data={}) => {
  return request({
    url:'/recommend/search',
    method:'get'
  })
}